package service;

import java.util.Date;
import java.util.List;

import bean.Article;

public interface ArticleService {
	public boolean addArticle(Article article);
	public boolean modifyArticle(Article article);
	public boolean deleteArticle(Article article);
	public Article getArticleById(int id);
	public List getArticlesByUsername(String username);
	public List getArticlesByView(int view);
	public List getArticlesByDate(Date date);
	public List getArticlesByClassid(int id);
}
